package com.ruoyi.generateTest.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生成试题文件对象 generate_test_paper
 * 
 * @author 经纬线
 * @date 2024-08-04
 */
public class GenerateTestPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件id */
    private Long fileId;

    /** 所属题库 */
    @Excel(name = "所属题库")
    private String questionBank;

    /** 文件 */
    @Excel(name = "文件")
    private String filePath;

    /** 生成试题信息 */
    private List<GeneratedExam> generatedExamList;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setQuestionBank(String questionBank) 
    {
        this.questionBank = questionBank;
    }

    public String getQuestionBank() 
    {
        return questionBank;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public List<GeneratedExam> getGeneratedExamList()
    {
        return generatedExamList;
    }

    public void setGeneratedExamList(List<GeneratedExam> generatedExamList)
    {
        this.generatedExamList = generatedExamList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("questionBank", getQuestionBank())
            .append("filePath", getFilePath())
            .append("generatedExamList", getGeneratedExamList())
            .toString();
    }
}
